﻿using il2lua.TypeSystem;

public class ILVariable : Role, IVariable
{
    public ILVariable(int index, string? name, IMethod? parent, ObjectKind kind)
    : base(name, parent, kind)
    {
        Index = index;
    }
    public int Index { get; }
    public override string ToString()
    {
        return $"{Parent}::{Name}";
    }
}
